package com.iknow.xmpp.service.aidl;

import android.os.Binder;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.RemoteException;
import com.iknow.xmpp.service.PrivacyListItem;
import java.util.ArrayList;
import java.util.List;

public abstract interface IPrivacyListManager
  implements IInterface
{
  public abstract void addPrivacyListListener(IPrivacyListListener paramIPrivacyListListener)
    throws RemoteException;

  public abstract void blockUser(String paramString1, String paramString2)
    throws RemoteException;

  public abstract void createPrivacyList(String paramString, List<PrivacyListItem> paramList)
    throws RemoteException;

  public abstract void declineActivePrivacyList()
    throws RemoteException;

  public abstract void declineDefaultPrivacyList()
    throws RemoteException;

  public abstract void editPrivacyList(String paramString, List<PrivacyListItem> paramList)
    throws RemoteException;

  public abstract String getActivePrivacyList()
    throws RemoteException;

  public abstract List<String> getBlockedGroupsByList(String paramString)
    throws RemoteException;

  public abstract List<String> getBlockedUsersByList(String paramString)
    throws RemoteException;

  public abstract String getDefaultPrivacyList()
    throws RemoteException;

  public abstract List<String> getPrivacyLists()
    throws RemoteException;

  public abstract void removePrivacyList(String paramString)
    throws RemoteException;

  public abstract void removePrivacyListListener(IPrivacyListListener paramIPrivacyListListener)
    throws RemoteException;

  public abstract void setActivePrivacyList(String paramString)
    throws RemoteException;

  public abstract void setDefaultPrivacyList(String paramString)
    throws RemoteException;

  public static abstract class Stub extends Binder
  implements IPrivacyListManager
  {
    private static final String DESCRIPTOR = "com.iknow.xmpp.service.aidl.IPrivacyListManager";
    static final int TRANSACTION_addPrivacyListListener = 14;
    static final int TRANSACTION_blockUser = 11;
    static final int TRANSACTION_createPrivacyList = 1;
    static final int TRANSACTION_declineActivePrivacyList = 8;
    static final int TRANSACTION_declineDefaultPrivacyList = 9;
    static final int TRANSACTION_editPrivacyList = 3;
    static final int TRANSACTION_getActivePrivacyList = 4;
    static final int TRANSACTION_getBlockedGroupsByList = 13;
    static final int TRANSACTION_getBlockedUsersByList = 12;
    static final int TRANSACTION_getDefaultPrivacyList = 5;
    static final int TRANSACTION_getPrivacyLists = 10;
    static final int TRANSACTION_removePrivacyList = 2;
    static final int TRANSACTION_removePrivacyListListener = 15;
    static final int TRANSACTION_setActivePrivacyList = 6;
    static final int TRANSACTION_setDefaultPrivacyList = 7;

    public Stub()
    {
      attachInterface(this, "com.iknow.xmpp.service.aidl.IPrivacyListManager");
    }

    public static IPrivacyListManager asInterface(IBinder paramIBinder)
    {
      Object localObject;
      if (paramIBinder == null)
        localObject = null;
      while (true)
      {
        while (true)
        {
          return localObject;
          IInterface localIInterface = paramIBinder.queryLocalInterface("com.iknow.xmpp.service.aidl.IPrivacyListManager");
          if ((localIInterface == null) || (!(localIInterface instanceof IPrivacyListManager)))
            break;
          localObject = (IPrivacyListManager)localIInterface;
        }
        localObject = new Proxy(paramIBinder);
      }
    }

    public IBinder asBinder()
    {
      return this;
    }

    public boolean onTransact(int paramInt1, Parcel paramParcel1, Parcel paramParcel2, int paramInt2)
      throws RemoteException
    {
      boolean bool;
      switch (paramInt1)
      {
      default:
        bool = super.onTransact(paramInt1, paramParcel1, paramParcel2, paramInt2);
      case 1598968902:
      case 1:
      case 2:
      case 3:
      case 4:
      case 5:
      case 6:
      case 7:
      case 8:
      case 9:
      case 10:
      case 11:
      case 12:
      case 13:
      case 14:
      case 15:
      }
      while (true)
      {
        while (true)
        {
          while (true)
          {
            while (true)
            {
              while (true)
              {
                while (true)
                {
                  while (true)
                  {
                    while (true)
                    {
                      while (true)
                      {
                        while (true)
                        {
                          while (true)
                          {
                            while (true)
                            {
                              while (true)
                              {
                                while (true)
                                {
                                  while (true)
                                  {
                                    while (true)
                                    {
                                      return bool;
                                      paramParcel2.writeString("com.iknow.xmpp.service.aidl.IPrivacyListManager");
                                      bool = true;
                                    }
                                    paramParcel1.enforceInterface("com.iknow.xmpp.service.aidl.IPrivacyListManager");
                                    createPrivacyList(paramParcel1.readString(), paramParcel1.createTypedArrayList(PrivacyListItem.CREATOR));
                                    paramParcel2.writeNoException();
                                    bool = true;
                                  }
                                  paramParcel1.enforceInterface("com.iknow.xmpp.service.aidl.IPrivacyListManager");
                                  removePrivacyList(paramParcel1.readString());
                                  paramParcel2.writeNoException();
                                  bool = true;
                                }
                                paramParcel1.enforceInterface("com.iknow.xmpp.service.aidl.IPrivacyListManager");
                                editPrivacyList(paramParcel1.readString(), paramParcel1.createTypedArrayList(PrivacyListItem.CREATOR));
                                paramParcel2.writeNoException();
                                bool = true;
                              }
                              paramParcel1.enforceInterface("com.iknow.xmpp.service.aidl.IPrivacyListManager");
                              String str2 = getActivePrivacyList();
                              paramParcel2.writeNoException();
                              paramParcel2.writeString(str2);
                              bool = true;
                            }
                            paramParcel1.enforceInterface("com.iknow.xmpp.service.aidl.IPrivacyListManager");
                            String str1 = getDefaultPrivacyList();
                            paramParcel2.writeNoException();
                            paramParcel2.writeString(str1);
                            bool = true;
                          }
                          paramParcel1.enforceInterface("com.iknow.xmpp.service.aidl.IPrivacyListManager");
                          setActivePrivacyList(paramParcel1.readString());
                          paramParcel2.writeNoException();
                          bool = true;
                        }
                        paramParcel1.enforceInterface("com.iknow.xmpp.service.aidl.IPrivacyListManager");
                        setDefaultPrivacyList(paramParcel1.readString());
                        paramParcel2.writeNoException();
                        bool = true;
                      }
                      paramParcel1.enforceInterface("com.iknow.xmpp.service.aidl.IPrivacyListManager");
                      declineActivePrivacyList();
                      paramParcel2.writeNoException();
                      bool = true;
                    }
                    paramParcel1.enforceInterface("com.iknow.xmpp.service.aidl.IPrivacyListManager");
                    declineDefaultPrivacyList();
                    paramParcel2.writeNoException();
                    bool = true;
                  }
                  paramParcel1.enforceInterface("com.iknow.xmpp.service.aidl.IPrivacyListManager");
                  List localList3 = getPrivacyLists();
                  paramParcel2.writeNoException();
                  paramParcel2.writeStringList(localList3);
                  bool = true;
                }
                paramParcel1.enforceInterface("com.iknow.xmpp.service.aidl.IPrivacyListManager");
                blockUser(paramParcel1.readString(), paramParcel1.readString());
                paramParcel2.writeNoException();
                bool = true;
              }
              paramParcel1.enforceInterface("com.iknow.xmpp.service.aidl.IPrivacyListManager");
              List localList2 = getBlockedUsersByList(paramParcel1.readString());
              paramParcel2.writeNoException();
              paramParcel2.writeStringList(localList2);
              bool = true;
            }
            paramParcel1.enforceInterface("com.iknow.xmpp.service.aidl.IPrivacyListManager");
            List localList1 = getBlockedGroupsByList(paramParcel1.readString());
            paramParcel2.writeNoException();
            paramParcel2.writeStringList(localList1);
            bool = true;
          }
          paramParcel1.enforceInterface("com.iknow.xmpp.service.aidl.IPrivacyListManager");
          addPrivacyListListener(IPrivacyListListener.Stub.asInterface(paramParcel1.readStrongBinder()));
          paramParcel2.writeNoException();
          bool = true;
        }
        paramParcel1.enforceInterface("com.iknow.xmpp.service.aidl.IPrivacyListManager");
        removePrivacyListListener(IPrivacyListListener.Stub.asInterface(paramParcel1.readStrongBinder()));
        paramParcel2.writeNoException();
        bool = true;
      }
    }

    private static class Proxy
  implements IPrivacyListManager
    {
      private IBinder mRemote;

      Proxy(IBinder paramIBinder)
      {
        this.mRemote = paramIBinder;
      }

      // ERROR //
      public void addPrivacyListListener(IPrivacyListListener paramIPrivacyListListener)
        throws RemoteException
      {
        // Byte code:
        //   0: invokestatic 28	android/os/Parcel:obtain	()Landroid/os/Parcel;
        //   3: astore_2
        //   4: invokestatic 28	android/os/Parcel:obtain	()Landroid/os/Parcel;
        //   7: astore_3
        //   8: aload_2
        //   9: ldc 30
        //   11: invokevirtual 34	android/os/Parcel:writeInterfaceToken	(Ljava/lang/String;)V
        //   14: aload_1
        //   15: ifnull +45 -> 60
        //   18: aload_1
        //   19: invokeinterface 40 1 0
        //   24: astore 5
        //   26: aload_2
        //   27: aload 5
        //   29: invokevirtual 43	android/os/Parcel:writeStrongBinder	(Landroid/os/IBinder;)V
        //   32: aload_0
        //   33: getfield 18	com/iknow/xmpp/service/aidl/IPrivacyListManager$Stub$Proxy:mRemote	Landroid/os/IBinder;
        //   36: bipush 14
        //   38: aload_2
        //   39: aload_3
        //   40: iconst_0
        //   41: invokeinterface 49 5 0
        //   46: pop
        //   47: aload_3
        //   48: invokevirtual 52	android/os/Parcel:readException	()V
        //   51: aload_3
        //   52: invokevirtual 55	android/os/Parcel:recycle	()V
        //   55: aload_2
        //   56: invokevirtual 55	android/os/Parcel:recycle	()V
        //   59: return
        //   60: aconst_null
        //   61: astore 5
        //   63: goto -37 -> 26
        //   66: astore 4
        //   68: aload_3
        //   69: invokevirtual 55	android/os/Parcel:recycle	()V
        //   72: aload_2
        //   73: invokevirtual 55	android/os/Parcel:recycle	()V
        //   76: aload 4
        //   78: athrow
        //
        // Exception table:
        //   from	to	target	type
        //   8	51	66	finally
      }

      public IBinder asBinder()
      {
        return this.mRemote;
      }

      public void blockUser(String paramString1, String paramString2)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.iknow.xmpp.service.aidl.IPrivacyListManager");
          localParcel1.writeString(paramString1);
          localParcel1.writeString(paramString2);
          this.mRemote.transact(11, localParcel1, localParcel2, 0);
          localParcel2.readException();
          return;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public void createPrivacyList(String paramString, List<PrivacyListItem> paramList)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.iknow.xmpp.service.aidl.IPrivacyListManager");
          localParcel1.writeString(paramString);
          localParcel1.writeTypedList(paramList);
          this.mRemote.transact(1, localParcel1, localParcel2, 0);
          localParcel2.readException();
          return;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public void declineActivePrivacyList()
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.iknow.xmpp.service.aidl.IPrivacyListManager");
          this.mRemote.transact(8, localParcel1, localParcel2, 0);
          localParcel2.readException();
          return;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public void declineDefaultPrivacyList()
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.iknow.xmpp.service.aidl.IPrivacyListManager");
          this.mRemote.transact(9, localParcel1, localParcel2, 0);
          localParcel2.readException();
          return;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public void editPrivacyList(String paramString, List<PrivacyListItem> paramList)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.iknow.xmpp.service.aidl.IPrivacyListManager");
          localParcel1.writeString(paramString);
          localParcel1.writeTypedList(paramList);
          this.mRemote.transact(3, localParcel1, localParcel2, 0);
          localParcel2.readException();
          return;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public String getActivePrivacyList()
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.iknow.xmpp.service.aidl.IPrivacyListManager");
          this.mRemote.transact(4, localParcel1, localParcel2, 0);
          localParcel2.readException();
          String str = localParcel2.readString();
          return str;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public List<String> getBlockedGroupsByList(String paramString)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.iknow.xmpp.service.aidl.IPrivacyListManager");
          localParcel1.writeString(paramString);
          this.mRemote.transact(13, localParcel1, localParcel2, 0);
          localParcel2.readException();
          ArrayList localArrayList = localParcel2.createStringArrayList();
          return localArrayList;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public List<String> getBlockedUsersByList(String paramString)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.iknow.xmpp.service.aidl.IPrivacyListManager");
          localParcel1.writeString(paramString);
          this.mRemote.transact(12, localParcel1, localParcel2, 0);
          localParcel2.readException();
          ArrayList localArrayList = localParcel2.createStringArrayList();
          return localArrayList;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public String getDefaultPrivacyList()
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.iknow.xmpp.service.aidl.IPrivacyListManager");
          this.mRemote.transact(5, localParcel1, localParcel2, 0);
          localParcel2.readException();
          String str = localParcel2.readString();
          return str;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public String getInterfaceDescriptor()
      {
        return "com.iknow.xmpp.service.aidl.IPrivacyListManager";
      }

      public List<String> getPrivacyLists()
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.iknow.xmpp.service.aidl.IPrivacyListManager");
          this.mRemote.transact(10, localParcel1, localParcel2, 0);
          localParcel2.readException();
          ArrayList localArrayList = localParcel2.createStringArrayList();
          return localArrayList;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public void removePrivacyList(String paramString)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.iknow.xmpp.service.aidl.IPrivacyListManager");
          localParcel1.writeString(paramString);
          this.mRemote.transact(2, localParcel1, localParcel2, 0);
          localParcel2.readException();
          return;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      // ERROR //
      public void removePrivacyListListener(IPrivacyListListener paramIPrivacyListListener)
        throws RemoteException
      {
        // Byte code:
        //   0: invokestatic 28	android/os/Parcel:obtain	()Landroid/os/Parcel;
        //   3: astore_2
        //   4: invokestatic 28	android/os/Parcel:obtain	()Landroid/os/Parcel;
        //   7: astore_3
        //   8: aload_2
        //   9: ldc 30
        //   11: invokevirtual 34	android/os/Parcel:writeInterfaceToken	(Ljava/lang/String;)V
        //   14: aload_1
        //   15: ifnull +45 -> 60
        //   18: aload_1
        //   19: invokeinterface 40 1 0
        //   24: astore 5
        //   26: aload_2
        //   27: aload 5
        //   29: invokevirtual 43	android/os/Parcel:writeStrongBinder	(Landroid/os/IBinder;)V
        //   32: aload_0
        //   33: getfield 18	com/iknow/xmpp/service/aidl/IPrivacyListManager$Stub$Proxy:mRemote	Landroid/os/IBinder;
        //   36: bipush 15
        //   38: aload_2
        //   39: aload_3
        //   40: iconst_0
        //   41: invokeinterface 49 5 0
        //   46: pop
        //   47: aload_3
        //   48: invokevirtual 52	android/os/Parcel:readException	()V
        //   51: aload_3
        //   52: invokevirtual 55	android/os/Parcel:recycle	()V
        //   55: aload_2
        //   56: invokevirtual 55	android/os/Parcel:recycle	()V
        //   59: return
        //   60: aconst_null
        //   61: astore 5
        //   63: goto -37 -> 26
        //   66: astore 4
        //   68: aload_3
        //   69: invokevirtual 55	android/os/Parcel:recycle	()V
        //   72: aload_2
        //   73: invokevirtual 55	android/os/Parcel:recycle	()V
        //   76: aload 4
        //   78: athrow
        //
        // Exception table:
        //   from	to	target	type
        //   8	51	66	finally
      }

      public void setActivePrivacyList(String paramString)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.iknow.xmpp.service.aidl.IPrivacyListManager");
          localParcel1.writeString(paramString);
          this.mRemote.transact(6, localParcel1, localParcel2, 0);
          localParcel2.readException();
          return;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public void setDefaultPrivacyList(String paramString)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.iknow.xmpp.service.aidl.IPrivacyListManager");
          localParcel1.writeString(paramString);
          this.mRemote.transact(7, localParcel1, localParcel2, 0);
          localParcel2.readException();
          return;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }
    }
  }
}